package com.sky.service;


import cn.hutool.http.HttpResponse;
import com.sky.vo.BusinessDataVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.SetmealOverViewVO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author norma
 */
public interface WorkSpaceService {

    /**
     * 获取今日运营数据
     * @return
     */
    BusinessDataVO getBusinessData();

    /**
     * 获取套餐(状态)总览计数
     * @return
     */
    SetmealOverViewVO getOverviewSetmeals();

    /**
     * 获取菜单(状态)总览计数
     *
     * @return
     */
    SetmealOverViewVO getOverviewDishes();

    /**
     * 全部订单管理数据
     *
     * @return
     */
    OrderOverViewVO getOverviewOrders();

    /**
     * 导出excel报表
     * @param httpResponse
     */
    void exportExcel(HttpServletResponse httpResponse) throws IOException;
}
